package com.ss.spider.system.role.service;

import com.ss.exception.ServiceException;
import com.ss.service.CWService;

import java.util.List;
import java.util.Map;

public interface RoleService<Role> extends CWService<Role> {

    List<Role> gets(Map<String, Object> paramMap);

    Role get(String paramString);

    List<Role> gets(List<String> paramList);

    List<Role> list(Role paramRole);

    List<Role> pages(Role paramRole, int paramInt1, int paramInt2);

    String save(Role paramRole) throws ServiceException;

    int update(Role paramRole) throws ServiceException;

    int discard(String paramString1, String paramString2) throws ServiceException;

    int discard(List<String> paramList, String paramString) throws ServiceException;

    int delete(String paramString) throws ServiceException;

    int delete(List<String> paramList) throws ServiceException;

    int delete(Role paramRole) throws ServiceException;

    void opStatus(List<String> paramList, Integer paramInteger) throws ServiceException;

}
